/**
 * 教学计划查询
 * @chengbozheng  10.25
 */

import request from "@/utils/request.js";

// 学院管理导航树
export function colleageTreeDataApi() {
  return request({
    url: "/edu/colleage/colleageTreeData",
    method: "POST",
  });
}

// 根据条件查询专业列表
export function majorListApi(data) {
    return request({
      url: "/edu/major/list",
      method: "post",
      params: data,
    });
  }
  

// 根据条件筛选教学计划列表
export function basicManagementListApi(data) {
  return request({
    url: "/edu/teachingPlan/list",
    method: "POST",
    params: data,
  });
}

// 修改教学计划
export function editBasicManagementApi(data) {
  return request({
    url: "/edu/plan/edit",
    method: "POST",
    params: data,
  });
}


// 年级列表
export function getGradeListApi(data) {
  return request({
    url: '/edu/typeData/list',
    method: 'POST',
    params:data
  })
}


// 查询学年学期列表
export function getSchoolYearApi(data) {
  return request({
    url: "/edu/schoolYearSemester/list",
    method: "POST",
    params: data,
  })
}
